import { createApp } from 'vue'
import './style.css'
import App from './App.vue';
import { ESObjectsManager } from 'esobjs-xe2-plugin/dist-node/esobjs-xe2-plugin-main';
//实例化一个场景对象管理器
const objm = new ESObjectsManager();
//@ts-ignore
window.g_objm = objm;

createApp(App, { objm }).mount('#app');


//创建个影像图层
objm.createSceneObjectFromJson({
    "id": "ae103185-08c7-4ed0-b6d4-15ad77bbbf66",
    "type": "ESImageryLayer",
    "url": "https://server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",
    "maximumLevel": 18
})
